Coupon_X\Frontend\Couponx_Frontend D

Total Complexity 180
Dependencies 1
Dependents 0
Total lines 927
Lines of code 687
Logical lines of code 371
Comment lines 121
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
render_an_dialog()
C
32 30 103
render_coupon_dialog()
C
37 23 79
render_link_dialog()
B
36 22 78
render_discount_tab()
B
34 21 86
render_email_dialog()
B
35 17 90
get_coupon_classes()
A
45 12 40
is_discount_applicable()
A
49 10 33
is_valid_product()
S
53 7 23
is_valid_min_req()
S
55 6 21
load_fonts()
S
47 5 35
apply_cx_coupon_link()
S
59 6 14
apply_coupon_from_session()
S
62 6 11
render_coupon_form()
S
57 5 17
display_coupon_widget()
S
54 4 22
is_valid_date()
S
62 3 11
include_coupon_scripts()
S
57 2 16
__construct()
S
66 1 8